package com.ruoyi.service;

import com.ruoyi.domain.UserHealthGoals;

import java.util.List;

public interface UserHealthGoalsService {

    // 获取用户最新的运动步数目标
    UserHealthGoals getLatestStepGoal(Long userId);

    // 获取用户最新的运动时间目标
    UserHealthGoals getLatestTimeGoal(Long userId);

    // 添加目标
    void addGoal(Long userId, Integer name, Integer targetValue);

    // 获取所有未完成的健康目标
    List<UserHealthGoals> getAllActiveGoals();

    // 更新目标数据
    void updateHealthGoal(UserHealthGoals healthGoal);
}
